﻿using Kz.Telegram.Bot.Console.HandleUpdate.Enums;
using Newtonsoft.Json;

namespace Kz.Telegram.Bot.Console.HandleUpdate.Models
{
    public class CallbackQueryModel
    {
        public InlineCallbackEnum Type { get; set; }

        public string Content { get; set; }

        internal static string Create(InlineCallbackEnum t, string c)
        {
            return JsonConvert.SerializeObject(new CallbackQueryModel()
            {
                Type = t,
                Content = c
            });
        }
    }
}